package com.xiaotao.mapper;

import com.xiaotao.entity.Scoring;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ScoringMapper {
    Integer add(Scoring scoring);
    Scoring queryByUserId(@Param("userId") Integer userId);
    Integer update(Scoring scoring);
}
